package com.qingcheng.pojo.seckill;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * Welcome to the most Amazing IntelliJ IIIDEA.
 * Creat0r: ^_^ fffantianxing ^_^
 * Date: 2019-07-23
 * Time: 19:08
 */
@Table(name = "tb_seckill_goods")
@Data
public class SeckillGoods implements Serializable {

    @Id
    private String id;

    private String goodsId;//spuId

    private String itemId;//skuId

    private String title;//标题

    private String smallPic;//商品图片

    private Integer price;//原价格

    private Integer costPrice;//秒杀价格

    private String sellerId;//商家id

    private Date createTime;//订单创建时间

    private Date checkTime;//审核日期

    private String status;//审核状态

    private Date startTime;//秒杀开始时间

    private Date endTime;//秒杀结束时间

    private Integer num;//秒杀商品数量

    private Integer stockCount;//库存数量

    private String introduction;//描述

}
